<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Debugger</title><link href="book.css" rel="stylesheet" type="text/css" /><meta content="DocBook XSL Stylesheets V1.71.0" name="generator" /><link rel="start" href="index.html" title="EPIC - User's Guide" /><link rel="up" href="ch08.html" title="Known Bugs &amp; Problems" /><link rel="prev" href="ch08.html" title="Known Bugs &amp; Problems" /><link rel="next" href="ch09.html" title="References" /></head><body><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="N10A6C" />Debugger</h2></div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a id="N10A6F" />Problems Showing Local Variables</h3></div></div></div><p>The EPIC debugger uses the PadWalker module to show local (or
        lexical) variables. PadWalker 0.10 does not display the values for
        lexical variables declared on top-level (outside of functions and
        blocks) correctly if used in debugger mode. To get around this
        problem, put your code within a function:</p><pre class="programlisting">dummy();

sub dummy
{
    <span class="symbol">&lt;YOUR CODE&gt;</span>
}</pre></div></div></body></html>